<!doctype html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>DGPT4537 Assignment1</title>
    <!-- 引入Bootstrap CSS -->
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/css/bootstrap.min.css" rel="stylesheet">
    <style>
        body {
            background-color: #f8f9fa;
            color: #343a40;
        }
        .container {
            margin-top: 20px;
        }
        .hero-list {
            list-style-type: none;
            padding-left: 0;
        }
        .hero-item {
            margin-bottom: 20px;
            padding: 20px;
            background-color: #fff;
            border-radius: 10px;
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
        }
        .home-link {
            display: block;
            margin-top: 20px;
        }
    </style>
</head>
<body>


    <!-- 使用Bootstrap的容器 -->
    <div class="container">
        <h1 class="text-center">List of Mythical Characters</h1>
        <ul class="hero-list">
            {records}
            <li class="hero-item">
                <p><a href="/hockey/showme/{id}" class="stretched-link">{name}</a></p>
            </li>
            {/records}
        </ul>
        <p class="text-center home-link">
            <a href="/home" class="btn btn-primary">Home</a>
        </p>
    </div>

    <!-- 引入Bootstrap JS和依赖 -->
    <script src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.11.6/dist/umd/popper.min.js"></script>
    <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/js/bootstrap.min.js"></script>
</body>
</html>